import { ref } from 'vue'
import useProjectHttp from '@framework/useProjectHttp'

export default function useReqConut() {
  const httplib = useProjectHttp()
  const count = ref(0)
  httplib.onRequestCountChange((_count) => {
    count.value = _count
  })
  return count
}
